package sist.controller;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import sist.bean.PageRank;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="rank-report")
public class PageRankReport {
	@XmlElement(name="rank-rank")
	private List<PageRank>pageRanks;

	public PageRankReport() {
		super();
	}
	public PageRankReport(List<PageRank> pageRanks) {
		super();
		this.pageRanks = pageRanks;
	}

	public List<PageRank> getPageRanks() {
		return pageRanks;
	}

	public void setPageRanks(List<PageRank> pageRanks) {
		this.pageRanks = pageRanks;
	}

	@Override
	public String toString() {
		return "PageRankReport [pageRanks=" + pageRanks + "]";
	}
	
}
